package com.iie.bigVideo.service;

import com.iie.bigVideo.entity.SysUser;
import com.baomidou.mybatisplus.extension.service.IService;
import com.iie.bigVideo.vo.ResultVO;
import org.springframework.web.multipart.MultipartFile;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author XXX
 * @since 2023-11-19
 */
public interface SysUserService extends IService<SysUser> {

    /**
     * 登录
     */
    ResultVO<SysUser> userLogin(String username, String password);

    /**
     * 修改密码
     */
    ResultVO updatePassword(int userId, String password);


    /**
     * 导出excel
     * @return
     */
    ResultVO outExcel();

    /**
     * 导入excel
     * @return
     */
    ResultVO inputExcel(MultipartFile excelFile);

}
